package com.woniu.springbootshiro.mapper;

import com.woniu.springbootshiro.pojo.LampStrategy;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface LampStrategyMapper extends tk.mybatis.mapper.common.Mapper<LampStrategy> {
@Select("SELECT id,name,num,url,status,time,low,oper  FROM lamp_strategy")
  List<LampStrategy> queryAllLampStragegy();

@Delete("delete from lamp_strategy where id=#{id}")
  int deleteOne(@Param("id") Integer id);


}
